package xyj.sparrow.discovery.single.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author 江南小俊
 * @since 2021/6/20 下午3:30
 **/
@Data
@ConfigurationProperties("xyj.sparrow.server")
public class SingleConf {
    /**
     * 远程服务的端口号，默认9999
     */
    private int port = 9999;
    /**
     * 远程服务地址
     */
    private String address = "localhost";
}
